package com.ckr.service;

import com.ckr.dao.UserDao;

/**
 * @author Shadowckr
 * @create 2021-11-23 15:05
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao;

    // 利用set方法动态实现值的注入！
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void getUser() {
        userDao.getUser();
    }
}
